package com.pzcnet.core;

import com.pzcnet.model.EventException;
import com.pzcnet.model.Payload;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by xdkxlk on 2017/8/30.
 */
public abstract class CallBack {

    public abstract void onSuccess(Payload publishPayload, Payload returnPayload);

    public abstract void onError(Payload publishPayload, EventException eventException);
}
